package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * description:
 * 提现 GCN 传输类对象
 *
 * @author ALIENWARE
 * @version v1.0.0
 * @create 5/1/2024
 **/
@ApiModel(value = "com-bjsxt-dto-BuyGcnParamDto/提现 GCN 传输类对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SellGcnParamDto {
    /**
     * 币种 id
     */
    @ApiModelProperty(value = "币种的 id")
    @NotNull
    private Long coinId;
    /**
     * 提现币种的数量
     */
    @ApiModelProperty(value = "购买币种的数量")
    @NotNull
    private BigDecimal num;
    /**
     * 提现币种的金额
     */
    @ApiModelProperty(value = "购买币种的金额")
    @NotNull
    private BigDecimal mum;
    /**
     * 支付密码
     */
    @ApiModelProperty(value = "支付密码")
    @NotBlank
    private String payPassword;
    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    @NotBlank
    private String validateCode;
}
